home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
9-Digit Zip Code Directory
/
9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO
/
z4src.zip
/
CLTYPES.HPP
< prev
next >
Wrap
Text File
|
1995-09-11
|
2KB
|
68 lines
//----------------------------------------------------------------------------
// MODULE DESCRIPTION
//
// Module: cltypes.hpp
// Title: C++ Class Libraries
// Notice: John M. Weeder
// Copyright (c) 1993. All rights reserved.
// This module contains proprietary information and should be
// treated as confidential.
//
//----------------------------------------------------------------------------
// MAINTENANCE HISTORY
//
// $Workfile$
// $Revision$
// $Author$
// $Date$
// $Log$
//
//----------------------------------------------------------------------------
// MODULE NARRATIVE
//
//
// This module contains class declaration macros and stuff. It is only
// included for C++ compiles.
// Use the CLASSDEF macro to declare classes.
// Example:
// CLASSDEF(TESTCLASS);
//
// This module is portable to:
// DOS 3.X+
// MS Windows 3.X+
// OS/2 2.X+
// OS/2 2.0 PM
//
// The following compilers are supported:
// MSC 6.0A
// MSC/C++ 7.0
// Borland C++ 3.1 for DOS
// Borland C++ 1.0 for OS/2 2.X
//
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Macros to declare a class.
//----------------------------------------------------------------------------
#if OS_OS2 || OS_PM
# define CLASSTYPE _EXPORT_
#elif OS_WINDOWS || OS_DOS
# if COMPILE_DLL
# define CLASSTYPE _EXPORT_
# elif COMPILER_MSC
# define CLASSTYPE
# else
# define CLASSTYPE _HUGE_
# endif
#endif
#define CLASSDEF(name) class CLASSTYPE name; \
PTRDEF(name); \
REFDEF(name); \
PTRCONSTDEF(name); \
REFCONSTDEF(name); \
REFPTRDEF(name)
//----------------------------------------------------------------------------
//------------------------------- End of File --------------------------------
//----------------------------------------------------------------------------